* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


}  
:root {
    --color-barra-lateral: rgb(1, 95, 209);
    --color-texto: white;
    --Color-boton:rgb(184, 255, 137);
    

}



body{
    font-family: Arial, Helvetica, sans-serif;
margin-top: -60px;
    height: 100vh ;
    width: 100%;
    background-color: rgb(255, 255, 255) !important; 
 
}
main {
    width: 800px;
    margin: auto;
    padding-left: 30px;

 
}
.menu{

   background-color: rgb(1, 95, 209);
   color: white;
   position: fixed;
   width: 45px;
   height: 45px;
   font-size: 25px;
   display: none;
   justify-content: center;
   align-items: center;
   border-radius: 50%;
   cursor: pointer;
   top: 10px;
left: 330px;
}
 
.barra-lateral {
    width: 250px;
    height: 100vh;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: start;
    overflow: hidden;
    padding: 20px 15px;
    background-color: var(--color-barra-lateral);
    transition: width 0.5s ease,background-color 0.3s ease,left 0.5s ease;
    z-index: 50;


}
 .barra-lateral .navegacion a:hover{
    background-color: rgb(8, 76, 195);
    color: rgb(253, 220, 29);
    padding: 5px;
 }
.nav-text {
    opacity: 0;
    width: 0;
}
a{
    color: white;
    text-decoration: none;
    background-color: transparent;
}
  
.mini-barra-lateral{
    width: 80px;
}
.barra-lateral .nombre-pagina{
    display: block;
    width: 100%;
    height: 45px;
    color: var(--color-texto);
    margin-bottom: 30px;
    display: block;
    align-items: center;
}
.barra-lateral .nombre-pagina ion-icon{
    min-width: 50px;
    font-size: 35px;
    cursor: pointer;
}
.barra-lateral .nombre-pagina span{
    
    font-size: 17px;
    font-weight: bold;
    opacity: 1;
    transition: opacity 0.5s ease;

 
}
.barra-lateral span.oculto{
    opacity: 0;
    width: 0;
}

.logo {
    width: 100px;
    min-width: 50px;
    cursor: pointer;
}
#cloud{
    cursor: pointer;
}


#unidades {
    font-size: 15px;
    padding: 0px;
    text-align: left;
    line-height: 17px;
   font-weight: lighter;
   background-color: transparent;


}
.barra-lateral .navegacion {
    height: 100vh;
    overflow-y: auto;


   margin-top: 60px;

}
.navegacion {

    overflow-y: auto; /* Desbordamiento vertical con barra de desplazamiento */
  }
  .barra-lateral .navegacion::-webkit-scrollbar{
    width: 5px;
}
.barra-lateral .navegacion::-webkit-scrollbar-thumb{
    background-color: white;
    border-radius: 5px;
}
.barra-lateral .navegacion::-webkit-scrollbar-thumb:hover{
    background-color: rgb(248, 203, 0);
}

.barra-lateral .navegacion li{  
    list-style: none;

}


html {
    scroll-behavior: smooth;
  }
  
   /* Estilos generales */
   body {
    font-family: Arial, sans-serif;
    padding: 0;
    background-color: #ffffff; /* Fondo de la página */

}


.titulounidad {
    margin: auto;
    width: 42rem;
    }


/* Encabezado */
h1 {
    color:  #ff8f20;
    font-size: 20px;
}
h2 { 
    color:  #ff8f20;
    font-size: 18px;
    font-style: italic;
}
h3 {
    background-image: url(../materialgrafico/titulo_exerciseu1.png);
    background-repeat: no-repeat;
    background-size: 250px;
    padding: 15px;
    color: white;
    font-size: 22px; 
    font-family: Arial, Helvetica, sans-serif; 
    margin-top: 20px;
    font-weight: bold;
  }

/* Estilos para párrafos y listas */
p {
    margin: 10px;
    font-size: 17px;
    font-family: Arial, Helvetica, sans-serif;
    line-height: 23px;

}
.p35pad{/* parrafos con 50px padding */
    padding-left: 35px;
  }

  .p25pad{/* parrafos con 25px padding */
    padding-left: 25px;
  }

/* Estilos para ejemplos y palabras en negrita */
.ejemplosp {
    font-style: italic;
    margin-left: 60px;
    font-size: 17px;
    background-color: #f3f3f3;
   line-height: 23px;
}

.palabrascolor {
    color: #ff8f20;
    font-style: italic;
font-weight: bold;
}

/* Estilos para ejemplos y palabras en color */
.palabrasencerradas {
    background-color:  #ff8f20;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline;
}

/* Columnas para ejemplos */
.contenedorlista1capitulo {
    display: flex;
    flex-wrap: wrap;
    width: 90%;

}
#exercise1{
    justify-content: center;
}

.contenedorlista1 {  /*2 columnas pc 1 columna telefono*/
    display: flex;
  }

  .contenedorlista2 { /*dos columnas en todos los dispositivos*/
    display: flex;
  }

  .renglon1{ /*  renglon 20% */
    border: none;
    border-bottom: 2px solid rgb(255, 176, 30);
    outline: none;
    width: 5rem;
    padding: 0px;
    margin: 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
  background-color: transparent;
  text-align: center;
  }
  .renglon1_1{ /*  renglon 20% */
    border: none;
    border-bottom: 2px solid rgb(255, 176, 30);
    outline: none;
    width: 5rem;
    padding: 0px;
    margin: 1px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
  background-color: transparent;
  text-align: center;
  }

  .renglon2{ /*  renglon 5% */
    border: none;
    border-bottom: 2px solid  rgb(255, 176, 30);
    outline: none;
    width: 1em;
    padding: 1px;
    margin: 5px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
    
  }
  .renglon3{ /*  renglon 5% */
    border: none;
    border-bottom: 2px solid  rgb(255, 176, 30);
    outline: none;
    width: 7rem;
    padding: 1px;
    margin: 5px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
    
  }
  .renglon4{ /*  renglon 15% */
    border: none;
    border-bottom: 2px solid  rgb(255, 176, 30);
    outline: none;
    width: 10rem;
    padding: 1px;
    margin: 5px;
    background-color: transparent;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    text-align: center;
    
  }
  .ejemploRC {
    border: none;
    border-bottom: 2px solid rgb(255, 176, 30);
    outline: none;
    width: 9em;
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
    color: rgb(255, 176, 30);
  }
  
    .contenedorrenglon {
      display: flex;
      align-items: center; /* Alinea verticalmente los elementos en el centro */
      height: 30px;
    }

.column {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0px;
  }
  .columna1_3 {
  margin-left: 90px;
  }

.columna5,.columna6 {
    width: 220px    ;
    margin-left: 30px;
}

/* Estilos para los ejercicios */
.renglon4 {
    border-bottom: 2px solid  #ff8f20;
}


ul {
    padding-left: 20px;
    list-style: none;
    justify-content: center;
  }

  .Ulcorta {
 margin-left: 50px;
  } 

  li {
    margin-bottom: 10px;
    background-color: #f3f3f3;
    background-position: center;
    padding: 3px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 5px;
    font-size: 17px;
    list-style: none;
    font-family:Arial, Helvetica, sans-serif;
    color:rgb(31, 31, 31);
    width: fit-content;
    font-size: 17px;
   }

   .listyellow {
    background-color: rgb(255, 176, 30);
    color: white;
    font-size: 16px;
    text-align: center;
    width: 150px;
    font-weight: bold;
    font-size: 17px;
   }

   .listyellow2 {
    background-color: rgb(255, 176, 30);
    color: white;
    font-size: 16px;
    text-align: center;
    width: 90px;
    font-weight: bold;
    justify-content: center;
    font-size: 17px;
   }
   .listalarga {
    width: 120px;
    text-align: center;
    font-size: 17px;

   }
    /* Estilos CSS para la tabla */
    table {
        border-collapse: collapse;
        width: 70%;
        margin: auto;
        border-radius: 55px;
        font-family: Arial, Helvetica, sans-serif;
        margin: 15px;
        margin: 0 auto; /* Esto centra la tabla horizontalmente */
        font-weight: 17px;
    }



    th, td {
        padding: 5px;
        text-align: center;
        font-size: 16px;
    }
    
    /* Aplicar estilos alternos a las filas */
    tr:nth-child(even) {
        background-color: #f2f2f2; /* Fila gris para filas pares */
        border-radius: 25px;
        font-size: 16px;
    }
    
    tr:nth-child(odd) {
        background-color: #ffffff; /* Fila blanca para filas impares */
        font-size: 16px;
    }
    .contenedorcheck{
        display: flex;
        align-items: center;
        font-size: 18px;
        height: 22px;
        padding-left: 60px;
      }
      .preguntasfondo {
        background-color: rgb(255, 176, 30);
        padding: 5px;
        border-radius: 15px;
        color: white;
        width: fit-content;
        font-size: 16px;
      }
      
      input[type="checkbox"] {
        width: 20px;
        height: 20px;
    }
    .correcto {
      color: green;
    }
    
    .incorrecto {
      color: red;
    }
    .correct { color: green; }
    .incorrect { color: red; }
    
    label {
      font-family: Arial, Helvetica, sans-serif;
      justify-content: center; /* Centra horizontalmente el contenido */
      align-items: center; /* Centra verticalmente el contenido */
      font-size: 17px;
    }

    .abrirycerrarmenu {
        color: #ffffff;
        display: flex;
       width: 45px;
       position: fixed;
       top:40px;
       left:198px;


    }
    .minimenu {
        color: #ffffff;
        display: flex;
       width: 45px;
       position: fixed;
       top:40px;
       left: 19px;px;


    }
@media (max-width: 395px){
    .barra-lateral{
        position: fixed;
        left: -250px;
        height: 800px;

    }
    .max-barra-lateral{
        left: 0;
    }
    .menu ion-icon:nth-child(2){
        display: none;
    }
 .menu {
    display: flex;
    position: fixed;



 }
 main{
    padding: 3px;
    padding-left: 0px;
width: 384px;
}

/* Reducir el margen izquierdo de ejemplos */
.ejemplosp {
    margin-left: 1rem;
    font-size: 16px;

}

/* Cambiar el tamaño de fuente en pantallas pequeñas */
p {
    font-size: 17px;
    width: 90%;
}

.p50pad{/* parrafos con 50px padding */
    padding-left: 25px;
    width: 90%;
  }

  .p25pad{/* parrafos con 25px padding */
    padding-left: 20px;
  }
.titulounidad {
margin: auto;
width: 380px;
}

.contenedorlista1capitulo {
    display: flex;
    margin: 0;
    padding: 0;
 
}

#exercise1{
    justify-content: left;
    margin-left: 30px;
}


.contenedorlista1 {
display: block;

}

.contenedorlista2 {
display: flex;
margin-left: 0px;
padding-left: 0px;
}
.columna1_1 {

width: 85px;
height: 32px;
}

.columna1_2 {

width: 250px;
height: 32px;
}
.columna1_3 {
margin-left: 0px;
}


.columna2 {
margin-left: 1px;
padding-left: 1px;

}
.columna3 {
    margin-left: 1px;
    padding-left: 1px;
    justify-content: left;
    
    }
    

.columna5,.columna6 {
width: 180px    ;
margin-left: 10px;
}
.renglon1_1{ /*  renglon 20% */
    border: none;
    border-bottom: 2px solid rgb(255, 176, 30);
    outline: none;
    width: 4rem;
    padding: 0px;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
  background-color: transparent;
  text-align: center;
  }

ul {
padding: 4px;
list-style: none;

}
.Ulcorta {
margin-left: 35px;
width: 200px;
}

.Ul1p {
margin-left: 85px;
margin-bottom: 3px;
margin-top: 3px;
font-size: 16px;
height: 35px;
}
li {

padding: 3px;
padding-right: 10px;
font-size: 16px;
}
.listyellow2 {
margin-top: 0;
font-size: 17px;
}

.listalarga {
width: 100px;
text-align: center;
font-size: 15px;

}
.renglon1{ /*  renglon 20% */
width: 5em;

}
table {
width: 370px;
border-radius: 25px;
font-family: Arial, Helvetica, sans-serif;
font-size: 15px;

}
.abrirycerrarmenu {
  display: none;
  width: 0;
  color: transparent;
}


} 



